package org.inspursc.s0517.health.evaluation.dao;

import org.inspursc.s0517.health.evaluation.entity.SurveyRelation;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SurveyRelationDao extends JpaRepository<SurveyRelation, Integer> {


    List<SurveyRelation> findAllBySurveyId(Integer surId);


    @Override
    void deleteById(Integer s);


    void deleteAllBySurveyId(Integer surId);


    @Override
    void deleteInBatch(Iterable<SurveyRelation> iterable);
}
